package io.chenglicun.modules.clc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.chenglicun.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 村民档案
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-10-30
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("clc_user_archive")
public class ClcUserArchiveEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	* 用户id
	*/
	private Long userId;
	/**
	* 档案类型id(数据字典)
	*/
	private Long archiveType;
	/**
	* 富文本内容
	*/
	private String textContent;
	/**
	 * 发生时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date occurrenceDate;
	/**
	* 更新者
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Long updater;
	/**
	* 更新时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateDate;
	/**
	* 备注
	*/
	private String remark;
	/**
	* 逻辑删除 0：未删除 1：已删除
	*/
		@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Integer isDeleted;
}